<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>   
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="publicStyle/css/bootstrap.css">
<title>Insert title here</title>
</head>
<body>
<center>
<h1>请对您的课程进行评教</h1>
<table class="table table-striped table-bordered table-hover table-condensed">
<tr>我的课程</tr>
<tr><td>课程编号</td><td>课程名</td><td>任课老师</td><td>教师编号</td><td>评价状态</td><td>进行评价</td></tr>
	<c:forEach begin="0" end="${fn:length(listpj)-1}" step="1" var="i">
	
		<tr><td>${listpj[i].cid}</td><td>${listpj[i].cname}</td><td>${listpj[i].tname}</td><td>${listpj[i].tid}</td><td><c:if test="${listpj[i].escore!=null }">已评价</c:if><c:if test="${listpj[i].escore==null }">未评价</c:if></td><td><a href="student/pingjiao.jsp?cname=${listpj[i].cname }&tname=${listpj[i].tname}&eid=${listpj[i].eid}" target="iframe0">评价</a></td></tr>
		
	</c:forEach>
	</table>
	</center>
</body>
</html>